// 招商管理路由
const commonMeta = {
  showBack: true,
  keepAlive: true
}
export default [
  {
    path: '/potentialCustomer',
    name: 'PotentialCustomer',
    component: () => import('@/views/attractInvestment/potentialCustomer/index.vue'),
    meta: {
      title: '意向客户',
      ...commonMeta
    }
  },
  {
    path: '/potentialCustomer/edit',
    name: 'PotentialCustomerEdit',
    component: () => import('@/views/attractInvestment/potentialCustomer/Edit.vue'),
    meta: {
      title: '意向客户编辑',
      showBack: true,
      headBgColor: 'var(--bg-global-weaker)'
    }
  },
  {
    path: '/potentialCustomer/add',
    name: 'PotentialCustomerAdd',
    component: () => import('@/views/attractInvestment/potentialCustomer/Edit.vue'),
    meta: {
      title: '意向客户新增',
      showBack: true,
      headBgColor: 'var(--bg-global-weaker)'
    }
  },
  {
    path: '/potentialCustomer/detail',
    name: 'PotentialCustomerDetail',
    component: () => import('@/views/attractInvestment/potentialCustomer/detail/index.vue'),
    meta: {
      title: '意向客户详情',
      showBack: true,
      headBgColor: 'var(--bg-global-weaker)'
    }
  },
  {
    path: '/blankMarket',
    name: 'BlankMarket',
    component: () => import('@/views/attractInvestment/blankMarket/index.vue'),
    meta: {
      title: '空白市场',
      ...commonMeta
    }
  },
  {
    path: '/blankMarket/add',
    name: 'BlankMarketAdd',
    component: () => import('@/views/attractInvestment/blankMarket/Add.vue'),
    meta: {
      title: '空白市场新增',
      showBack: true,
      headBgColor: 'var(--bg-global-weaker)'
    }
  },
  {
    path: '/blankMarket/edit',
    name: 'BlankMarketEdit',
    component: () => import('@/views/attractInvestment/blankMarket/Edit.vue'),
    meta: {
      title: '空白市场编辑',
      showBack: true,
      headBgColor: 'var(--bg-global-weaker)'
    }
  },
  {
    path: '/blankMarket/disable',
    name: 'BlankMarketDisable',
    component: () => import('@/views/attractInvestment/blankMarket/Disable.vue'),
    meta: {
      title: '空白市场停用',
      showBack: true,
      headBgColor: 'var(--bg-global-weaker)'
    }
  },
  {
    path: '/blankMarket/detail',
    name: 'BlankMarketDetail',
    component: () => import('@/views/attractInvestment/blankMarket/detail/index.vue'),
    meta: {
      title: '空白市场详情',
      showBack: true,
      headBgColor: 'var(--bg-global-weaker)'
    }
  },
  {
    path: '/leasingManager',
    name: 'LeasingManager',
    component: () => import('@/views/attractInvestment/leasingManager/index.vue'),
    meta: {
      title: '招商经理管理',
      ...commonMeta
    }
  },
  {
    path: '/leasingManager/add',
    name: 'LeasingManagerEdit',
    component: () => import('@/views/attractInvestment/leasingManager/EditManager.vue'),
    meta: {
      title: '招商经理确认',
      ...commonMeta,
      headBgColor: 'var(--bg-global-weaker)'
    }
  },
  {
    path: '/leasingManager/edit',
    name: 'LeasingManagerEdit1',
    component: () => import('@/views/attractInvestment/leasingManager/EditManager.vue'),
    meta: {
      title: '编辑招商经理',
      showBack: true,
      headBgColor: 'var(--bg-global-weaker)'
    }
  },
  {
    path: '/leasingManager/choice',
    name: 'LeasingManagerChoice',
    component: () => import('@/views/attractInvestment/leasingManager/LeasingManagerChoice.vue'),
    meta: {
      title: '招商经理新增',
      showBack: true
    }
  },
  {
    path: '/potentialCustomerFollowUp',
    name: 'PotentialCustomerFollowUp',
    component: () => import('@/views/attractInvestment/potentialCustomerFollowUp/index.vue'),
    meta: {
      title: '意向客户跟进',
      ...commonMeta
    }
  },

  {
    path: '/potentialCustomerFollowUp/edit',
    name: 'PotentialCustomerFollowUpEdit',
    component: () => import('@/views/attractInvestment/potentialCustomerFollowUp/Edit.vue'),
    meta: {
      title: '意向客户跟进编辑',
      // showBack: true,
      ...commonMeta,
      headBgColor: 'var(--bg-global-weaker)'
    }
  },
  {
    path: '/potentialCustomerFollowUp/handover',
    name: 'PotentialCustomerFollowUpHandover',
    component: () => import('@/views/attractInvestment/potentialCustomerFollowUp/Edit.vue'),
    meta: {
      title: '意向客户办事处交接',
      // showBack: true,
      ...commonMeta,
      headBgColor: 'var(--bg-global-weaker)'
    }
  },
  {
    path: '/potentialCustomerFollowUp/detail',
    name: 'PotentialCustomerMarketChangeDetail',
    component: () => import('@/views/attractInvestment/potentialCustomerFollowUp/detail/index.vue'),
    meta: {
      title: '意向客户跟进详情',
      showBack: true,
      headBgColor: 'var(--bg-global-weaker)'
    }
  },
  {
    path: '/potentialCustomerFollowUp/marketChoice',
    name: 'MarketChoice',
    component: () => import('@/views/attractInvestment/potentialCustomerFollowUp/MarketChoice.vue'),
    meta: {
      title: '选择特许经营市场',
      showBack: true,
      headBgColor: 'var(--bg-global-weaker)'
    }
  },
  {
    path: '/potentialCustomerMarketChange',
    name: 'PotentialCustomerMarketChange',
    component: () => import('@/views/attractInvestment/potentialCustomerMarketChange/index.vue'),
    meta: {
      title: '意向客户特许经营市场变更记录',
      // ...commonMeta,
      showBack: true,
      headBgColor: 'var(--bg-global-weaker)'
    }
  }
]
